package office.action.sale.wrapper;

import java.util.Date;

import office.bo.sale.impl.CustomerCare;
import platform.common.bo.IdentifiableObj;

public class CustomerCareWrapper {
	private String id;
	private String title;   //标题
	private Date careTime;  //关怀时间
	private String principal;//当前负责人
	private String principalName;//当前负责人名称
	private String content; //内容
	private String mark;
	private String customerId;  //对应的客户
	private String customerName;//客户名称
	
	/**
	 * 从bo拷贝属性
	 * @param baseBO
	 */
	public void copyToWrapper(IdentifiableObj baseBO){
		CustomerCare bo = (CustomerCare)baseBO;
		this.id = bo.getId().toString();
		this.title = bo.getTitle();
		this.careTime = bo.getCareTime();
		this.principal = bo.getPrincipal();
		this.principalName = bo.getPrincipalName();
		this.content = bo.getContent();
		this.mark = bo.getMark();
		this.customerId = bo.getCustomerId();
		this.customerName = bo.getCustomerName();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	

	public Date getCareTime() {
		return careTime;
	}

	public void setCareTime(Date careTime) {
		this.careTime = careTime;
	}

	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getPrincipalName() {
		return principalName;
	}

	public void setPrincipalName(String principalName) {
		this.principalName = principalName;
	}
	
}
